<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EasyIO-GPRS-Framework: KernelService</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="搜索" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>KernelService</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4cc6d94199b8cd5c2b90dc398a44f654"></a><!-- doxytag: member="KernelService::RT_LIST_OBJECT_INIT" ref="ga4cc6d94199b8cd5c2b90dc398a44f654" args="(object)" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga4cc6d94199b8cd5c2b90dc398a44f654">RT_LIST_OBJECT_INIT</a>(object)&nbsp;&nbsp;&nbsp;{ &amp;(object), &amp;(object) }</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">initialize a list object <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga52568d5666fbf7f7f5d0b96149d5ebd1">rt_list_entry</a>(node, type, member)&nbsp;&nbsp;&nbsp;((type *)((char *)(node) - (unsigned long)(&amp;((type *)0)-&gt;member)))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the struct for this entry  <a href="#ga52568d5666fbf7f7f5d0b96149d5ebd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab03f640d90fbc5bcb75285d08a0f25ed"></a><!-- doxytag: member="KernelService::errno" ref="gab03f640d90fbc5bcb75285d08a0f25ed" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>errno</b>&nbsp;&nbsp;&nbsp;*_rt_errno()</td></tr>
<tr><td colspan="2"><h2>函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">rt_inline void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga7103f52aa8c7402c9e87f03942d8bc9f">rt_list_init</a> (<a class="el" href="structrt__list__node.html">rt_list_t</a> *l)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">initialize a list  <a href="#ga7103f52aa8c7402c9e87f03942d8bc9f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">rt_inline void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga7d57c901bb0ee4e1b9ed92a5a196cc39">rt_list_insert_after</a> (<a class="el" href="structrt__list__node.html">rt_list_t</a> *l, <a class="el" href="structrt__list__node.html">rt_list_t</a> *n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">insert a node after a list  <a href="#ga7d57c901bb0ee4e1b9ed92a5a196cc39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">rt_inline void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga31047c521c265353f8372043fb6ff5ef">rt_list_insert_before</a> (<a class="el" href="structrt__list__node.html">rt_list_t</a> *l, <a class="el" href="structrt__list__node.html">rt_list_t</a> *n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">insert a node before a list  <a href="#ga31047c521c265353f8372043fb6ff5ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">rt_inline void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga0525e5898dd57464613551b887256c28">rt_list_remove</a> (<a class="el" href="structrt__list__node.html">rt_list_t</a> *n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove node from list.  <a href="#ga0525e5898dd57464613551b887256c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">rt_inline int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__KernelService.html#ga2b25b69a89568b7f2bf6ed5e9e70da74">rt_list_isempty</a> (const <a class="el" href="structrt__list__node.html">rt_list_t</a> *l)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">tests whether a list is empty  <a href="#ga2b25b69a89568b7f2bf6ed5e9e70da74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga30501ddeb176f989c694c262826f8723"></a><!-- doxytag: member="KernelService::rt_kprintf" ref="ga30501ddeb176f989c694c262826f8723" args="(const char *fmt,...)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_kprintf</b> (const char *fmt,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga56abddf94d78f86180c2433dae32099c"></a><!-- doxytag: member="KernelService::rt_vsprintf" ref="ga56abddf94d78f86180c2433dae32099c" args="(char *dest, const char *format, va_list arg_ptr)" -->
<a class="el" href="group__BasicDef.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_vsprintf</b> (char *dest, const char *format, va_list arg_ptr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga36c861ec1a7eac18e2bd5b9bdce2f176"></a><!-- doxytag: member="KernelService::rt_sprintf" ref="ga36c861ec1a7eac18e2bd5b9bdce2f176" args="(char *buf, const char *format,...)" -->
<a class="el" href="group__BasicDef.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_sprintf</b> (char *buf, const char *format,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5f1baef67f4fa7f7acaba1cd251e0df2"></a><!-- doxytag: member="KernelService::rt_snprintf" ref="ga5f1baef67f4fa7f7acaba1cd251e0df2" args="(char *buf, rt_size_t size, const char *format,...)" -->
<a class="el" href="group__BasicDef.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_snprintf</b> (char *buf, <a class="el" href="group__BasicDef.html#ga8011d259fdfc54b8a9aa006b4d49ac14">rt_size_t</a> size, const char *format,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga17b8724a14746aa74d7c2969c3289fbc"></a><!-- doxytag: member="KernelService::rt_get_errno" ref="ga17b8724a14746aa74d7c2969c3289fbc" args="(void)" -->
<a class="el" href="group__BasicDef.html#ga42df42aabf676f2a89f5af2208b79950">rt_err_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_get_errno</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga507b98e0ac2b0e21328c720cec9aae49"></a><!-- doxytag: member="KernelService::rt_set_errno" ref="ga507b98e0ac2b0e21328c720cec9aae49" args="(rt_err_t no)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_set_errno</b> (<a class="el" href="group__BasicDef.html#ga42df42aabf676f2a89f5af2208b79950">rt_err_t</a> no)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9414eec588ad45e531d5cae27ff9c033"></a><!-- doxytag: member="KernelService::_rt_errno" ref="ga9414eec588ad45e531d5cae27ff9c033" args="(void)" -->
int *&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rt_errno</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad9d9e520332ae84d066024194b1d3dbd"></a><!-- doxytag: member="KernelService::rt_memset" ref="gad9d9e520332ae84d066024194b1d3dbd" args="(void *src, int c, rt_ubase_t n)" -->
void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_memset</b> (void *src, int c, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae870aa23eab953305ebba5a6e17b9d65"></a><!-- doxytag: member="KernelService::rt_memcpy" ref="gae870aa23eab953305ebba5a6e17b9d65" args="(void *dest, const void *src, rt_ubase_t n)" -->
void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_memcpy</b> (void *dest, const void *src, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad45fdd0ca4553763ed24a9dd4c42793f"></a><!-- doxytag: member="KernelService::rt_strncmp" ref="gad45fdd0ca4553763ed24a9dd4c42793f" args="(const char *cs, const char *ct, rt_ubase_t count)" -->
<a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strncmp</b> (const char *cs, const char *ct, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> count)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga322e6a53d471e6582b4f82e0d86d10ea"></a><!-- doxytag: member="KernelService::rt_strcmp" ref="ga322e6a53d471e6582b4f82e0d86d10ea" args="(const char *cs, const char *ct)" -->
<a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strcmp</b> (const char *cs, const char *ct)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad3eaa0aebd6db3711c66ed4db0b814ad"></a><!-- doxytag: member="KernelService::rt_strlen" ref="gad3eaa0aebd6db3711c66ed4db0b814ad" args="(const char *src)" -->
<a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strlen</b> (const char *src)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga948b349619384854fd35b706f04ce764"></a><!-- doxytag: member="KernelService::rt_strdup" ref="ga948b349619384854fd35b706f04ce764" args="(const char *s)" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strdup</b> (const char *s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaef0b123a287a76431621ef3a09dcfdf3"></a><!-- doxytag: member="KernelService::rt_strstr" ref="gaef0b123a287a76431621ef3a09dcfdf3" args="(const char *str1, const char *str2)" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strstr</b> (const char *str1, const char *str2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga60317ec50ec7580763d7fafd44f344a5"></a><!-- doxytag: member="KernelService::rt_sscanf" ref="ga60317ec50ec7580763d7fafd44f344a5" args="(const char *buf, const char *fmt,...)" -->
<a class="el" href="group__BasicDef.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_sscanf</b> (const char *buf, const char *fmt,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0b2e9868926d3db26c67c3c8b3355699"></a><!-- doxytag: member="KernelService::rt_strncpy" ref="ga0b2e9868926d3db26c67c3c8b3355699" args="(char *dest, const char *src, rt_ubase_t n)" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strncpy</b> (char *dest, const char *src, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae2b1e945a61cb83ac5f46ef85038a547"></a><!-- doxytag: member="KernelService::rt_memmove" ref="gae2b1e945a61cb83ac5f46ef85038a547" args="(void *dest, const void *src, rt_ubase_t n)" -->
void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_memmove</b> (void *dest, const void *src, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4fe9ceae2937c508dd668aaec1019ae8"></a><!-- doxytag: member="KernelService::rt_memcmp" ref="ga4fe9ceae2937c508dd668aaec1019ae8" args="(const void *cs, const void *ct, rt_ubase_t count)" -->
<a class="el" href="group__BasicDef.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_memcmp</b> (const void *cs, const void *ct, <a class="el" href="group__BasicDef.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> count)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5ccf01d436b44080746f989058d6058b"></a><!-- doxytag: member="KernelService::rt_strcasecmp" ref="ga5ccf01d436b44080746f989058d6058b" args="(const char *a, const char *b)" -->
<a class="el" href="group__BasicDef.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_strcasecmp</b> (const char *a, const char *b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga11ecdcdb5b09e6e18b52625c1e904dca"></a><!-- doxytag: member="KernelService::rt_show_version" ref="ga11ecdcdb5b09e6e18b52625c1e904dca" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>rt_show_version</b> (void)</td></tr>
</table>
<hr/><h2>宏定义文档</h2>
<a class="anchor" id="ga52568d5666fbf7f7f5d0b96149d5ebd1"></a><!-- doxytag: member="rtservice.h::rt_list_entry" ref="ga52568d5666fbf7f7f5d0b96149d5ebd1" args="(node, type, member)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define rt_list_entry</td>
          <td>(</td>
          <td class="paramtype">node, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">member&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;((type *)((char *)(node) - (unsigned long)(&amp;((type *)0)-&gt;member)))</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the struct for this entry </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>the entry point </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>the type of structure </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>member</em>&nbsp;</td><td>the name of list in structure </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>函数文档</h2>
<a class="anchor" id="ga7103f52aa8c7402c9e87f03942d8bc9f"></a><!-- doxytag: member="rtservice.h::rt_list_init" ref="ga7103f52aa8c7402c9e87f03942d8bc9f" args="(rt_list_t *l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rt_inline void rt_list_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>l</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>initialize a list </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>list to be initialized </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga7d57c901bb0ee4e1b9ed92a5a196cc39"></a><!-- doxytag: member="rtservice.h::rt_list_insert_after" ref="ga7d57c901bb0ee4e1b9ed92a5a196cc39" args="(rt_list_t *l, rt_list_t *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rt_inline void rt_list_insert_after </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>insert a node after a list </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>list to insert it </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>new node to be inserted </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga31047c521c265353f8372043fb6ff5ef"></a><!-- doxytag: member="rtservice.h::rt_list_insert_before" ref="ga31047c521c265353f8372043fb6ff5ef" args="(rt_list_t *l, rt_list_t *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rt_inline void rt_list_insert_before </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>insert a node before a list </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>new node to be inserted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>list to insert it </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2b25b69a89568b7f2bf6ed5e9e70da74"></a><!-- doxytag: member="rtservice.h::rt_list_isempty" ref="ga2b25b69a89568b7f2bf6ed5e9e70da74" args="(const rt_list_t *l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rt_inline int rt_list_isempty </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>l</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tests whether a list is empty </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>the list to test. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga0525e5898dd57464613551b887256c28"></a><!-- doxytag: member="rtservice.h::rt_list_remove" ref="ga0525e5898dd57464613551b887256c28" args="(rt_list_t *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rt_inline void rt_list_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrt__list__node.html">rt_list_t</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>remove node from list. </p>
<dl><dt><b>参数:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>the node to remove from the list. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated at Thu Dec 26 21:32:02 2013 for EasyIO-GPRS-Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
